@import "./common.scss";

@font-face {
    font-family: "by";
    src: url("../font/AlexBrush-Regular.ttf");
}

.wrap {
    header {
        nav {
            .title {
                a:nth-child(5) {
                    color: #cf0d0d;
                    border-bottom: 3px solid #cf0d0d;
                    font-weight: bold;
                }
            }
        }
    }

    main {
        width: 1300px;
        margin: 0 auto;

        .content_top {
            width: 1200px;
            height: 600px;
            margin: 0 auto;
            // background-color: #000;

            .article_top {
                width: 100%;
                height: 430px;
                border-bottom: 3px solid #b7b7b7;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;

                p {
                    font-size: 72px;

                    &:last-child {
                        font-size: 36px;
                    }
                }
            }

            .article_bottom {
                position: relative;
                margin-top: 70px;

                p {
                    @extend %title_p;
                }

                .all {
                    @extend %title_all;
                }
            }
        }

        .content_bottom {
            width: 100%;
            height: 1760px;
            position: relative;
            background-color: #f3f3f3;

            .article {
                width: 1200px;
                height: 1524px;
                display: flex;
                flex-flow: wrap;
                justify-content: space-between;
                align-content: space-between;
                position: absolute;
                left: 50px;
                top: -20px;


                .circle {
                    width: 392px;
                    height: 500px;

                    .imgBox {
                        img {
                            width: 100%;
                            display: block;
                        }
                    }

                    .textBox {
                        border: 1px solid #a0a0a0;
                        background-color: #fff;
                        border-top: 0;
                        padding-bottom: 10px;
                        position: relative;

                        h3 {
                            font-size: 18px;
                            padding: 25px 5px 15px;
                        }

                        p:first-of-type {
                            font-size: 12px;
                            padding: 5px;

                            span {
                                color: red;
                                font-weight: bold;
                            }
                        }

                        p:last-of-type {
                            font-size: 14px;
                            color: #a7a6a6;
                            margin-top: 10px;
                            font-weight: bold;

                            span {
                                margin-left: 5px;

                                &:first-child {
                                    font-family: "by";
                                }
                            }
                        }

                        >span {
                            width: 70px;
                            height: 20px;
                            font-size: 12px;
                            font-style: italic;
                            border: solid 1px #7d7d7d;
                            border-radius: 10px;
                            position: absolute;
                            top: 165px;
                            left: 300px;

                            // background-color: #cf0d0d;

                            // 爱心
                            .icon-aixin {
                                color: #cf0d0d;
                                margin: 0px 5px;
                            }
                        }
                    }

                    &:hover {
                        @extend %hover;

                        .textBox {
                            h3 {
                                color: red;
                            }

                            p {
                                span:last-child {
                                    color: red;
                                }
                            }

                            >span {
                                color: #fff;
                                background-color: #cf0d0d;

                                .icon-aixin {
                                    color: #fff;
                                }
                            }
                        }
                    }
                }
            }

            .loading {
                position: absolute;
                bottom: 70px;
                left: calc((1300px - 67px) / 2);
                @extend %loading;
            }

            .backBox {
                @extend %back;
                position: absolute;
                bottom: 0;
                left: 625px;
            }
        }
    }
}